package com.rongke.service;

import java.util.List;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;
import com.rongke.model.Medicine;

/**
 * @MedicineService
 * @药物Service
 * @version : Ver 1.0
 */
public interface MedicineService extends IService<Medicine> {
    /**
     * 根据
     * 
     * @param typeId
     * @return
     */
    Page<Medicine> selectPageByTypeId(Page<Medicine> page, int typeId);

    /**
     * 根据多关键字搜索药品名称
     * 
     * @param keys
     * @param limit
     * @return
     */
    List<Medicine> search(String[] keys, int limit);
}
